
// 封装Loading
export const Loading = ({ title }) => {
    let timer = null;
    uni.showLoading({
        title
    })
    timer = setTimeout(() => {
        uni.hideLoading();
        clearTimeout(timer);
    }, 5000);
}